﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace iLangl.Customer.DNN.Configuration
{
	[Serializable]
	public class DNNPluginConfiguration : IPluginConfiguration
	{
		#region IPluginConfiguration Members

		private string _accountPassword = String.Empty;
		public string AccountPassword
		{
			get { return _accountPassword; }
			set { _accountPassword = value; }
		}

		private string _accountUserName = String.Empty;
		public string AccountUserName
		{
			get { return _accountUserName; }
			set { _accountUserName = value; }
		}

		private string _pluginLicenseKey = String.Empty;
		public string PluginLicenseKey
		{
			get { return _pluginLicenseKey; }
			set { _pluginLicenseKey = value; }
		}

		private string _publishURI = String.Empty;
		public string PublishURI
		{
			get { return _publishURI; }
			set { _publishURI = value; }
		}


		public void SetAccountUserName(string accountUserName)
		{
			_accountUserName = accountUserName;
		}

		public void SetPluginLicenseKey(string pluginLicenseKey)
		{
			_pluginLicenseKey = pluginLicenseKey;
		}

		public void SetAccountPassword(string accountPassword)
		{
			_accountPassword = accountPassword;
		}

		public void SetPublishURI(string publishURI)
		{
			_publishURI = publishURI;
		}

		private string siteId = String.Empty;
		public string SiteId
		{
			get
			{
				return siteId;
			}
			set
			{
				siteId = value;
			}
		}
		#endregion
	}
}